Segmentation fault on accessing CrossRef metedata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Referencer |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hi,
First, you're doing great work on this tool, it's really useful!
I've using version 1.1.2, compiled from source on Ubuntu Gutsy amd64.
I have a CrossRef account, and when I add a PDF with DOI doi:10.
I noticed that the DOI in that PDF is in parentheses, and the closing parenthesis is still in the CrossRef
request, see below.
Thanks,
Gad
$ gdb /usr/local/
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-
Using host libthread_db library "/lib/libthread
(gdb) r
Starting program: /usr/local/
[Thread debugging using libthread_db enabled]
[New Thread 47763704600336 (LWP 5016)]
warning: Lowest section in /usr/lib/
main: setting PYTHONPATH to ':./plugins:
PluginManager:
Plugin::load: No metadata capabilities in lyx
Trying /usr/local/
Plugin::load: successfully loaded 'lyx'
PluginManager:
Plugin::load: No actions in pubmed
Plugin::load: successfully loaded 'pubmed'
[New Thread 1082132816 (LWP 5019)]
[New Thread 1090525520 (LWP 5020)]
[New Thread 1098918224 (LWP 5021)]
[New Thread 1107310928 (LWP 5022)]
[New Thread 1115703632 (LWP 5023)]
[New Thread 1124096336 (LWP 5024)]
[New Thread 1132489040 (LWP 5025)]
[New Thread 1140881744 (LWP 5026)]
[Thread 1082132816 (LWP 5019) exited]
[New Thread 1149274448 (LWP 5027)]
[New Thread 1082132816 (LWP 5028)]
[New Thread 1157667152 (LWP 5029)]
[Thread 1157667152 (LWP 5029) exited]
RefWindow::run: entering main loop
[Thread 1124096336 (LWP 5024) exited]
[Thread 1115703632 (LWP 5023) exited]
[Thread 1107310928 (LWP 5022) exited]
[Thread 1098918224 (LWP 5021) exited]
[Thread 1090525520 (LWP 5020) exited]
[Thread 1149274448 (LWP 5027) exited]
[Thread 1140881744 (LWP 5026) exited]
[Thread 1132489040 (LWP 5025) exited]
[Thread 1082132816 (LWP 5028) exited]
[New Thread 1132489040 (LWP 5030)]
[New Thread 1149274448 (LWP 5031)]
[New Thread 1140881744 (LWP 5032)]
[Thread 1140881744 (LWP 5032) exited]
[Thread 1132489040 (LWP 5030) exited]
[Thread 1149274448 (LWP 5031) exited]
[New Thread 1149274448 (LWP 5033)]
[New Thread 1132489040 (LWP 5034)]
[Thread 1149274448 (LWP 5033) exited]
[Thread 1132489040 (LWP 5034) exited]
[New Thread 1132489040 (LWP 5035)]
[New Thread 1149274448 (LWP 5036)]
[New Thread 1140881744 (LWP 5037)]
[Thread 1140881744 (LWP 5037) exited]
[Thread 1132489040 (LWP 5035) exited]
[Thread 1149274448 (LWP 5036) exited]
[New Thread 1149274448 (LWP 5038)]
[New Thread 1132489040 (LWP 5039)]
[Thread 1149274448 (LWP 5038) exited]
[Thread 1132489040 (LWP 5039) exited]
[New Thread 1149274448 (LWP 5055)]
Document:
[New Thread 1132489040 (LWP 5056)]
[New Thread 1140881744 (LWP 5057)]
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
openCB: result OK, opened
Done!
Waiting...
Woo, read 865 bytes
readCB: result OK
Waiting...
[New Thread 1082399056 (LWP 5058)]
[Thread 1140881744 (LWP 5057) exited]
Waiting...
Woo, read 0 bytes
readCB: EOF
Done!
[New Thread 1140881744 (LWP 5059)]
Waiting...
closeCB: result OK, closed
Done!
[Thread 1132489040 (LWP 5056) exited]
referencer_
[Thread 1140881744 (LWP 5059) exited]
/usr/local/
raise "pubmed.
pubmed.
>> referencer_
Document:
Document:
Document:
CrossRefPlugin:
[New Thread 1140881744 (LWP 5060)]
[New Thread 1132489040 (LWP 5061)]
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
Waiting...
openCB: result OK, opened
Done!
Waiting...
Woo, read 605 bytes
readCB: result OK
Waiting...
Woo, read 0 bytes
readCB: EOF
Done!
Waiting...
closeCB: result OK, closed
Done!
[Thread 1140881744 (LWP 5060) exited]
[Thread 1132489040 (LWP 5061) exited]
<?xml version = "1.0" encoding = "UTF-8"?>
<crossref_result version="2.0" xmlns="http://
<query_result>
<head>
</head>
<body>
</body>
</query_result>
</crossref_result>
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47763704600336 (LWP 5016)]
0x00002b70d4b73aaf in std::basic_
(gdb) bt
#0 0x00002b70d4b73aaf in std::basic_
#1 0x00000000004376fe in CrossRefParser:
#2 0x00002b70d0708830 in Glib::Markup:
#3 0x00002b70d4213e9b in g_markup_
#4 0x00002b70d0707ee9 in Glib::Markup:
#5 0x0000000000436519 in CrossRefPlugin:
#6 0x000000000043b820 in Document:
#7 0x00000000004873a4 in RefWindow:
#8 0x0000000000488956 in RefWindow:
#9 0x00002b70d0715703 in Glib::SignalPro
#10 0x00002b70d3b9d99a in g_closure_invoke () from /usr/lib/
#11 0x00002b70d3bad96a in ?? () from /usr/lib/
#12 0x00002b70d3baeaf3 in g_signal_
#13 0x00002b70d3baecc3 in g_signal_emit () from /usr/lib/
#14 0x00002b70cf7c85b3 in _gtk_action_
#15 0x00002b70d3b9d99a in g_closure_invoke () from /usr/lib/
#16 0x00002b70d3bad6b8 in ?? () from /usr/lib/
#17 0x00002b70d3baeaf3 in g_signal_
#18 0x00002b70d3baecc3 in g_signal_emit () from /usr/lib/
#19 0x00002b70cf9ac2fa in gtk_widget_activate () from /usr/lib/
#20 0x00002b70cf8ae3e0 in gtk_menu_
#21 0x00002b70cf8afda6 in ?? () from /usr/lib/
#22 0x00002b70cf8a215d in _gtk_marshal_
#23 0x00002b70d3b9d99a in g_closure_invoke () from /usr/lib/
#24 0x00002b70d3badcc8 in ?? () from /usr/lib/
#25 0x00002b70d3bae8c7 in g_signal_
#26 0x00002b70d3baecc3 in g_signal_emit () from /usr/lib/
#27 0x00002b70cf9a80ae in ?? () from /usr/lib/
#28 0x00002b70cf89b4fb in gtk_propagate_event () from /usr/lib/
#29 0x00002b70cf89c504 in gtk_main_do_event () from /usr/lib/
#30 0x00002b70d18cb1dc in ?? () from /usr/lib/
#31 0x00002b70d420dfd3 in g_main_
#32 0x00002b70d42112dd in ?? () from /usr/lib/
#33 0x00002b70d42115ea in g_main_loop_run () from /usr/lib/
#34 0x00002b70cf89c883 in gtk_main () from /usr/lib/
#35 0x00002b70ce8bfeec in Gtk::Main::run () from /usr/lib/
#36 0x0000000000463af5 in main (argc=1, argv=0x7fffde5f
Here's another PDF it happens on, if I save the PDF and import it. "Add Reference with ID" works for the DOI (when used without parentheses, at least).
http:// genomebiology. com/content/ pdf/gb- 2008-9- 1-r22.pdf