Comments (10)
Can you try to capture some more info about the broken line. Running with gdb
, you can print the stack with bt
from gerbera.
from gerbera.
023-12-25 13:28:43.603 trace: [sqlite_database.cc:242] select(): Adding select to Queue: SELECT "item_id", "property_name", "property_value" FROM "mt_metadata" WHERE "item_id" = 23
2023-12-25 13:28:43.603 trace: [thread_runner.h:134] lockGuard(): ThreadRunner: Guard for SQLiteThread - addTask SelectTask
2023-12-25 13:28:43.603 trace: [thread_runner.h:124] notify(): ThreadRunner: Notifying SQLiteThread
2023-12-25 13:28:43.603 trace: [sl_task.cc:120] run(): Running: SELECT "item_id", "property_name", "property_value" FROM "mt_metadata" WHERE "item_id" = 23
2023-12-25 13:28:43.603 trace: [sql_database.cc:2839] retrieveResourcesForObject(): SQLDatabase::retrieveResourcesForObject SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 23 ORDER BY "res_id"
2023-12-25 13:28:43.603 trace: [sqlite_database.cc:242] select(): Adding select to Queue: SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 23 ORDER BY "res_id"
2023-12-25 13:28:43.603 trace: [thread_runner.h:134] lockGuard(): ThreadRunner: Guard for SQLiteThread - addTask SelectTask
2023-12-25 13:28:43.603 trace: [thread_runner.h:124] notify(): ThreadRunner: Notifying SQLiteThread
2023-12-25 13:28:43.603 trace: [sl_task.cc:120] run(): Running: SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 23 ORDER BY "res_id"
2023-12-25 13:28:43.604 trace: [import_service.cc:732] addContainerTree(): Loaded container chain item /Audio/Composers -> true
2023-12-25 13:28:43.604 trace: [import_service.cc:701] addContainerTree(): Received container chain item /Audio
2023-12-25 13:28:43.604 trace: [import_service.cc:701] addContainerTree(): Received container chain item /Audio/Year
2023-12-25 13:28:43.604 trace: [sqlite_database.cc:242] select(): Adding select to Queue: SELECT "f"."id", "f"."ref_id", "f"."parent_id", "f"."object_type", "f"."upnp_class", "f"."dc_title", "f"."location", "f"."location_hash", "f"."auxdata", "f"."update_id", "f"."mime_type", "f"."flags", "f"."part_number", "f"."track_number", "f"."service_id", "f"."last_modified", "f"."last_updated", "rf"."upnp_class", "rf"."location", "rf"."auxdata", "rf"."mime_type", "rf"."service_id", "as"."persistent" FROM "mt_cds_object" "f" LEFT JOIN "mt_cds_object" "rf" ON "f"."ref_id" = "rf"."id" LEFT JOIN "mt_autoscan" "as" ON "as"."obj_id" = "f"."id" WHERE "f"."location_hash" = 3216568682 AND "f"."location" = 'V/Audio/Year' AND "f"."ref_id" IS NULL LIMIT 1
2023-12-25 13:28:43.604 trace: [thread_runner.h:134] lockGuard(): ThreadRunner: Guard for SQLiteThread - addTask SelectTask
2023-12-25 13:28:43.604 trace: [thread_runner.h:124] notify(): ThreadRunner: Notifying SQLiteThread
2023-12-25 13:28:43.604 trace: [sl_task.cc:120] run(): Running: SELECT "f"."id", "f"."ref_id", "f"."parent_id", "f"."object_type", "f"."upnp_class", "f"."dc_title", "f"."location", "f"."location_hash", "f"."auxdata", "f"."update_id", "f"."mime_type", "f"."flags", "f"."part_number", "f"."track_number", "f"."service_id", "f"."last_modified", "f"."last_updated", "rf"."upnp_class", "rf"."location", "rf"."auxdata", "rf"."mime_type", "rf"."service_id", "as"."persistent" FROM "mt_cds_object" "f" LEFT JOIN "mt_cds_object" "rf" ON "f"."ref_id" = "rf"."id" LEFT JOIN "mt_autoscan" "as" ON "as"."obj_id" = "f"."id" WHERE "f"."location_hash" = 3216568682 AND "f"."location" = 'V/Audio/Year' AND "f"."ref_id" IS NULL LIMIT 1
2023-12-25 13:28:43.605 trace: [sqlite_database.cc:242] select(): Adding select to Queue: SELECT "item_id", "property_name", "property_value" FROM "mt_metadata" WHERE "item_id" = 24
2023-12-25 13:28:43.605 trace: [thread_runner.h:134] lockGuard(): ThreadRunner: Guard for SQLiteThread - addTask SelectTask
2023-12-25 13:28:43.605 trace: [thread_runner.h:124] notify(): ThreadRunner: Notifying SQLiteThread
2023-12-25 13:28:43.605 trace: [sl_task.cc:120] run(): Running: SELECT "item_id", "property_name", "property_value" FROM "mt_metadata" WHERE "item_id" = 24
2023-12-25 13:28:43.605 trace: [sql_database.cc:2839] retrieveResourcesForObject(): SQLDatabase::retrieveResourcesForObject SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 24 ORDER BY "res_id"
2023-12-25 13:28:43.605 trace: [sqlite_database.cc:242] select(): Adding select to Queue: SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 24 ORDER BY "res_id"
2023-12-25 13:28:43.605 trace: [thread_runner.h:134] lockGuard(): ThreadRunner: Guard for SQLiteThread - addTask SelectTask
2023-12-25 13:28:43.605 trace: [thread_runner.h:124] notify(): ThreadRunner: Notifying SQLiteThread
2023-12-25 13:28:43.605 trace: [sl_task.cc:120] run(): Running: SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 24 ORDER BY "res_id"
2023-12-25 13:28:43.606 trace: [import_service.cc:732] addContainerTree(): Loaded container chain item /Audio/Year -> true
2023-12-25 13:28:43.606 trace: [import_service.cc:701] addContainerTree(): Received container chain item /Audio
2023-12-25 13:28:43.606 trace: [import_service.cc:701] addContainerTree(): Received container chain item /Audio/Directories
2023-12-25 13:28:43.606 trace: [sqlite_database.cc:242] select(): Adding select to Queue: SELECT "f"."id", "f"."ref_id", "f"."parent_id", "f"."object_type", "f"."upnp_class", "f"."dc_title", "f"."location", "f"."location_hash", "f"."auxdata", "f"."update_id", "f"."mime_type", "f"."flags", "f"."part_number", "f"."track_number", "f"."service_id", "f"."last_modified", "f"."last_updated", "rf"."upnp_class", "rf"."location", "rf"."auxdata", "rf"."mime_type", "rf"."service_id", "as"."persistent" FROM "mt_cds_object" "f" LEFT JOIN "mt_cds_object" "rf" ON "f"."ref_id" = "rf"."id" LEFT JOIN "mt_autoscan" "as" ON "as"."obj_id" = "f"."id" WHERE "f"."location_hash" = 3261617994 AND "f"."location" = 'V/Audio/Directories' AND "f"."ref_id" IS NULL LIMIT 1
2023-12-25 13:28:43.606 trace: [thread_runner.h:134] lockGuard(): ThreadRunner: Guard for SQLiteThread - addTask SelectTask
2023-12-25 13:28:43.606 trace: [thread_runner.h:124] notify(): ThreadRunner: Notifying SQLiteThread
2023-12-25 13:28:43.606 trace: [sl_task.cc:120] run(): Running: SELECT "f"."id", "f"."ref_id", "f"."parent_id", "f"."object_type", "f"."upnp_class", "f"."dc_title", "f"."location", "f"."location_hash", "f"."auxdata", "f"."update_id", "f"."mime_type", "f"."flags", "f"."part_number", "f"."track_number", "f"."service_id", "f"."last_modified", "f"."last_updated", "rf"."upnp_class", "rf"."location", "rf"."auxdata", "rf"."mime_type", "rf"."service_id", "as"."persistent" FROM "mt_cds_object" "f" LEFT JOIN "mt_cds_object" "rf" ON "f"."ref_id" = "rf"."id" LEFT JOIN "mt_autoscan" "as" ON "as"."obj_id" = "f"."id" WHERE "f"."location_hash" = 3261617994 AND "f"."location" = 'V/Audio/Directories' AND "f"."ref_id" IS NULL LIMIT 1
2023-12-25 13:28:43.607 trace: [sqlite_database.cc:242] select(): Adding select to Queue: SELECT "item_id", "property_name", "property_value" FROM "mt_metadata" WHERE "item_id" = 25
2023-12-25 13:28:43.607 trace: [thread_runner.h:134] lockGuard(): ThreadRunner: Guard for SQLiteThread - addTask SelectTask
2023-12-25 13:28:43.607 trace: [thread_runner.h:124] notify(): ThreadRunner: Notifying SQLiteThread
2023-12-25 13:28:43.607 trace: [sl_task.cc:120] run(): Running: SELECT "item_id", "property_name", "property_value" FROM "mt_metadata" WHERE "item_id" = 25
2023-12-25 13:28:43.607 trace: [sql_database.cc:2839] retrieveResourcesForObject(): SQLDatabase::retrieveResourcesForObject SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 25 ORDER BY "res_id"
2023-12-25 13:28:43.607 trace: [sqlite_database.cc:242] select(): Adding select to Queue: SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 25 ORDER BY "res_id"
2023-12-25 13:28:43.607 trace: [thread_runner.h:134] lockGuard(): ThreadRunner: Guard for SQLiteThread - addTask SelectTask
2023-12-25 13:28:43.607 trace: [thread_runner.h:124] notify(): ThreadRunner: Notifying SQLiteThread
2023-12-25 13:28:43.607 trace: [sl_task.cc:120] run(): Running: SELECT "item_id", "res_id", "handlerType", "purpose", "options", "parameters", "size", "duration", "bitrate", "sampleFrequency", "nrAudioChannels", "resolution", "colorDepth", "protocolInfo", "resFile", "type", "fanArtObject", "fanArtResource", "bitsPerSample", "dc:language", "sec:acodec", "sec:vcodec", "format" FROM "grb_cds_resource" WHERE "item_id" = 25 ORDER BY "res_id"
2023-12-25 13:28:43.608 trace: [import_service.cc:732] addContainerTree(): Loaded container chain item /Audio/Directories -> true
terminate called after throwing an instance of 'std::out_of_range'
what(): map::at
Aborted (core dumped)
from gerbera.
Can you please check your config of <boxlayout>
it must contain <box key="Audio/allDirectories" title="Directories" class="object.container"/>
.
from gerbera.
<boxlayout>
...
<box key="Audio/allDirectories" title="Directories" class="object.container" />
...
Complete passage taken over and used in an unmodified manner from the auto-generated config.xml
My best suggestion is, to roll back from 92 to 91. Some unfathomable thing must have happened thence.
from gerbera.
There has been a recent addition to that list. Maybe it's that one. Can you rerun --create-config
and compare.
from gerbera.
92:
$ gerbera --create-config | grep "box key" > latest.box
$ cat config.xml | grep "box key" > earlier.box
$ diff latest.box earlier.box
11d10
< <box key="Audio/artistChronology" title="Album Chronology" class="object.container" />
$
91: no difference.
Added this line into config.xml, 92 stays alive.
We seem to suffer from a conceptual flaw here, since some sub-sub-item in the config ought never be able to decide survival?
from gerbera.
The fix closes that gap. In this case we have to merge defaults into users values. Normally it has to replace.
from gerbera.
Confirmed. Now it is correct:
info: Using home directory ...
info: Created default BoxLayout key=Audio/artistChronology, title=Album Chronology, objClass=object.container, enabled=true, size=1
info: Configuration load succeeded.
Though I am still not fully at ease with the config, potentially conflicting configs, in config.xml and the database:
Though that's another topic ... .
from gerbera.
The web UI always shows the current config.
Normally, the config file is the only place of truth which can be overwritten by the web ui. If some value is not set, the default is kicking in. Some values do not have default, thus gerbera does not start if those are not set. Now, we have the option of well-defined key
s that defaulted.
from gerbera.
Related Issues (20)
- Segmentation fault occurred when import-mode is "mt" on Gerbera 2.0.0. HOT 2
- Errors Invalid Session ID - Cannot see file system HOT 11
- TagLibHandler XXX: does not appear to be a valid mp4 file HOT 6
- gerbera 2.0 - ignore extensions? HOT 4
- gerbera 2.0 - upnp container sort HOT 13
- gerbera 2.0: No Container parent for Item playlist_name HOT 9
- Ubuntu repository not accessible HOT 2
- Both Ubuntu repos down HOT 4
- gerbrea 2.0: Crash on initial import after first playlist HOT 10
- JFROG artifactory disabled HOT 2
- Install gerbera HOT 1
- Samsung tv not playing files HOT 7
- Apt update fails because jfrog subscription de-activated HOT 1
- Issue: "JFrog's Free-Tier subscription has been deactivated." HOT 14
- ToDo: Renew Docker OSS Subscription HOT 4
- firewall advice needed in documentation HOT 1
- Common.js Box Setup for Dates Uses Config Parameter Video/allYears HOT 1
- SIGSEGV while AutoScan HOT 2
- debian gerbera build -> undefined symbol HOT 6
- Gerbera 2.0 error: Failed to read /home/user/.mpdascache: No such file or directory HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gerbera.